package it.koutifaris.travianmap.utils.cursor;

import android.database.Cursor;
import android.database.CursorWrapper;

public class ColumnNameCursorWrapper extends CursorWrapper implements ColumnNameCursor {

	public ColumnNameCursorWrapper(Cursor cursor) {
		super(cursor);
	}

	@Override
	public byte[] getBlob(String columnName) {
		return getBlob(getColumnIndexOrThrow(columnName));
	}

	@Override
	public double getDouble(String columnName) {
		return getDouble(getColumnIndexOrThrow(columnName));
	}

	@Override
	public float getFloat(String columnName) {
		return getFloat(getColumnIndexOrThrow(columnName));
	}

	@Override
	public int getInt(String columnName) {
		return getInt(getColumnIndexOrThrow(columnName));
	}

	@Override
	public long getLong(String columnName) {
		return getLong(getColumnIndexOrThrow(columnName));
	}

	@Override
	public short getShort(String columnName) {
		return getShort(getColumnIndexOrThrow(columnName));
	}

	@Override
	public String getString(String columnName) {
		return getString(getColumnIndexOrThrow(columnName));
	}

}
